if SERVER then
	registerCommand("spawn", "Causes the player you specify to respawn", function(param)
		local spawnMsg = "caller spawned target"
		if param["settings"]["spawn_msg"] then
			spawnMsg = param["settings"]["spawn_msg"]
		end
		local spawnTable = {}
		spawnTable["caller"] = getCaller(param[1])
		local targs = string.Explode(" ", param[3])
		for i, targ in pairs(targs) do
			local plyTarg = getPlayerByName(targ)
			if plyTarg then
				spawnTable["target"] = plyTarg:GetName()
				display(param[1], "spawn", { plyTarg } , parseDisplayMessage(spawnMsg, spawnTable))
				plyTarg:Spawn()
			end
		end
	end)
end